package com.jingogo.mapper;

import com.jingogo.entity.GoldPrice;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Date;

@Mapper
public interface GoldPriceMapper {
    int insert(GoldPrice price);
    List<GoldPrice> selectRealtime();
    List<GoldPrice> selectHistory(Date start, Date end);
} 